﻿using LazyLib.Combat;
using LazyLib.Wow;

using Frosty.Conf;
using Frosty.Helpers;

namespace Frosty.Combat
{
    public class CombatSequence
    {

        public FrostSequence Frost;
        // BloodSequence Blood;
        // UnholySequence Unholy;

        public CombatResult Combat(PUnit target)
        {
            if (!ObjectManager.MyPlayer.IsAutoAttacking)
                target.Interact();
            
            if (ConfigValues.Spec.Equals(Spec.Frost))
                Frost.FrostCombat(target);

            return CombatResult.Success;
        }
    }
}
